package com.aizuda.snailjob.enums;

import lombok.Getter;

@Getter
public enum ExecutorBlockStrategyEnum {

    SERIAL_EXECUTION("Serial execution", 1),
    /*CONCURRENT_EXECUTION("并行"),*/
    DISCARD_LATER("Discard Later", 1),
    COVER_EARLY("Cover Early", 2);

    private final String title;
    private final int sjBlockStrategy;
    ExecutorBlockStrategyEnum(String title, int sjBlockStrategy) {
        this.title = title;
        this.sjBlockStrategy = sjBlockStrategy;
    }



}
